
class TestApi {
    public constructor() {
        this.init();
    }
    public init() {
        console.log("TestApi init")

        let bodyConfig = new BodyConfig();
        bodyConfig.appId = "wx3dc70509318309aa";
        bodyConfig.debug = true;

        if (wx) {
            wx.config(bodyConfig);
            wx.ready(() => {
                console.log("在这里调用微信相关的api");
            });
        }
        
    }
}